﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MvcProject.Models.WorkType>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>工种信息</h2>

    <fieldset>
        <legend>工种信息</legend>
        <div class="display-label">工种名称</div>
        <div class="display-field"><%: Model.WorkTypeName %></div>
        
        <div class="display-label">工种排序号</div>
        <div class="display-field"><%: Model.WorkTypeOrder %></div>
        
        <div class="display-label">创建人</div>
        <div class="display-field"><%: Model.CreateUserName %></div>
        
        <div class="display-label">创建时间</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.CreateDate) %></div>
        
    </fieldset>
    <p>

        <%: Html.ActionLink("编辑", "Edit", new { id=Model.WorkTypeId }) %> |
        <%: Html.ActionLink("返回工种列表", "Index") %>
    </p>

</asp:Content>

